package com.haoan.index.utils;
import com.haoan.index.common.WebConstants;

/**
 * @Auther: Kai
 * @Date: 2024/9/9
 * @Description: com.haoan.utils
 */
public class LogUtil {
    public static String buildLogMsg(String title, String... infos) {
        String log = title == null ? "" : title;
        if (infos != null) {
            for (String info : infos) {
                log += com.haoan.index.common.WebConstants.LOG_SPLIT + info;
            }
        }
        return log;
    }
}
